# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-colander
_pkgname=colander
pkgver=2.0
pkgrel=1
pkgdesc="simple schema-based Python serialization and deserialization library"
url="https://docs.pylonsproject.org/projects/colander/en/latest/"
arch="noarch"
license="ZPL-2.1"
depends="python3 py3-iso8601 py3-translationstring py3-babel"
checkdepends="py3-nose py3-coverage"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
16e9f55442899bef03f15802dd87b051aa3932d88273a141fcc1300f7e7f5457de263ec6d1ed8b8025660e0d99aefa8390eb2349b6ccd5339faaafce1321de56  colander-2.0.tar.gz
"
